.class public Lcom/estrongs/android/ui/topclassify/g;
.super Ljava/lang/Object;
.source "CornerMarkManager.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/topclassify/g$f;,
        Lcom/estrongs/android/ui/topclassify/g$e;
    }
.end annotation


# instance fields
.field private a:Les/qu$i;

.field private b:Lcom/estrongs/android/pop/app/log/n$e;

.field private c:Landroid/content/Context;

.field private d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field

.field private e:Lcom/estrongs/android/ui/topclassify/g$f;

.field private f:Z

.field private g:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/Integer;",
            "Lcom/estrongs/android/ui/topclassify/g$e;",
            ">;"
        }
    .end annotation
.end field

.field private h:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/topclassify/g$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/topclassify/g$a;-><init>(Lcom/estrongs/android/ui/topclassify/g;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->h:Landroid/os/Handler;

    .line 3
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/g;->c:Landroid/content/Context;

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/g;->d()V

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/ui/topclassify/g;->e()V

    return-void
.end method

.method private a(J)I
    .locals 8

    const/16 v0, 0x2000

    .line 10
    invoke-static {v0}, Lcom/estrongs/android/pop/FexApplication;->b(I)Ljava/util/List;

    move-result-object v0

    .line 11
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    const/4 v1, 0x0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroid/content/pm/PackageInfo;

    .line 12
    iget-wide v3, v2, Landroid/content/pm/PackageInfo;->firstInstallTime:J

    const-wide/16 v5, 0x0

    cmp-long v7, v3, v5

    if-gtz v7, :cond_1

    .line 13
    iget-wide v3, v2, Landroid/content/pm/PackageInfo;->lastUpdateTime:J

    :cond_1
    cmp-long v2, v3, p1

    if-ltz v2, :cond_0

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_2
    return v1
.end method

.method public static a(I)J
    .locals 4

    .line 14
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/estrongs/android/pop/l;->a(I)J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long p0, v0, v2

    if-nez p0, :cond_0

    .line 15
    new-instance p0, Ljava/util/Date;

    invoke-direct {p0}, Ljava/util/Date;-><init>()V

    invoke-virtual {p0}, Ljava/util/Date;->getTime()J

    move-result-wide v0

    const-wide/32 v2, 0xf731400

    sub-long/2addr v0, v2

    :cond_0
    return-wide v0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/topclassify/g;)Lcom/estrongs/android/ui/topclassify/g$f;
    .locals 0

    .line 2
    iget-object p0, p0, Lcom/estrongs/android/ui/topclassify/g;->e:Lcom/estrongs/android/ui/topclassify/g$f;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/ui/topclassify/g;Ljava/util/Map;)Ljava/util/Map;
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/g;->g:Ljava/util/Map;

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/ui/topclassify/g;Z)Z
    .locals 0

    .line 1
    iput-boolean p1, p0, Lcom/estrongs/android/ui/topclassify/g;->f:Z

    return p1
.end method

.method static synthetic b(Lcom/estrongs/android/ui/topclassify/g;)Ljava/util/Map;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/topclassify/g;->g:Ljava/util/Map;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/ui/topclassify/g;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/topclassify/g;->h:Landroid/os/Handler;

    return-object p0
.end method

.method private d()V
    .locals 2

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->d:Ljava/util/List;

    const/16 v1, 0x4ec5

    .line 2
    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->d:Ljava/util/List;

    const/4 v1, 0x5

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->d:Ljava/util/List;

    const/4 v1, 0x7

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->d:Ljava/util/List;

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->d:Ljava/util/List;

    const/4 v1, 0x2

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->d:Ljava/util/List;

    const/4 v1, 0x3

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->d:Ljava/util/List;

    const/4 v1, 0x4

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method private e()V
    .locals 2

    .line 1
    sget-boolean v0, Lcom/estrongs/android/pop/FexApplication;->q:Z

    if-eqz v0, :cond_0

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/topclassify/g$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/topclassify/g$b;-><init>(Lcom/estrongs/android/ui/topclassify/g;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->a:Les/qu$i;

    .line 3
    invoke-static {}, Les/qu;->e()Les/qu;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/ui/topclassify/g;->a:Les/qu$i;

    invoke-virtual {v0, v1}, Les/qu;->a(Les/qu$i;)V

    goto :goto_0

    .line 4
    :cond_0
    new-instance v0, Lcom/estrongs/android/ui/topclassify/g$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/topclassify/g$c;-><init>(Lcom/estrongs/android/ui/topclassify/g;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->b:Lcom/estrongs/android/pop/app/log/n$e;

    .line 5
    invoke-static {v0}, Lcom/estrongs/android/pop/app/log/n;->b(Lcom/estrongs/android/pop/app/log/n$e;)V

    :goto_0
    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 5
    iget-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/g;->f:Z

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x1

    .line 6
    iput-boolean v0, p0, Lcom/estrongs/android/ui/topclassify/g;->f:Z

    const/4 v0, 0x4

    .line 7
    invoke-static {v0}, Lcom/estrongs/android/ui/topclassify/g;->a(I)J

    move-result-wide v0

    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/ui/topclassify/g;->a(J)I

    move-result v0

    .line 8
    new-instance v1, Lcom/estrongs/android/ui/topclassify/g$d;

    invoke-direct {v1, p0, v0}, Lcom/estrongs/android/ui/topclassify/g$d;-><init>(Lcom/estrongs/android/ui/topclassify/g;I)V

    .line 9
    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    return-void
.end method

.method public a(Lcom/estrongs/android/ui/topclassify/g$f;)V
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/ui/topclassify/g;->e:Lcom/estrongs/android/ui/topclassify/g$f;

    return-void
.end method

.method public b()V
    .locals 2

    .line 2
    invoke-static {}, Les/qu;->e()Les/qu;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/ui/topclassify/g;->a:Les/qu$i;

    invoke-virtual {v0, v1}, Les/qu;->b(Les/qu$i;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/topclassify/g;->b:Lcom/estrongs/android/pop/app/log/n$e;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/log/n;->a(Lcom/estrongs/android/pop/app/log/n$e;)V

    return-void
.end method

.method public c()V
    .locals 1

    .line 2
    sget-boolean v0, Lcom/estrongs/android/pop/FexApplication;->q:Z

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/ui/topclassify/g;->a()V

    :cond_0
    return-void
.end method
